Improve error message when _LIBCPP_HAS_NO_MONOTONIC_CLOCK is used improperly git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@223590 91177308-0d34-0410-b5e6-96231b3b80d8 
diff --git a/include/__config b/include/__config index df0bb77..8fd80bc 100644 --- a/include/__config +++ b/include/__config 
@@ -713,4 +713,9 @@  # define _LIBCPP_WEAK __attribute__((__weak__))  #endif   +#if defined(_LIBCPP_HAS_NO_MONOTONIC_CLOCK) && !defined(_LIBCPP_HAS_NO_THREADS) +# error _LIBCPP_HAS_NO_MONOTONIC_CLOCK may only be defined when \ + _LIBCPP_HAS_NO_THREADS is defined. +#endif +  #endif // _LIBCPP_CONFIG